const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_http_gzip_module",
    map: {
        gzip: [Switch, false, ["http", "server", "location"]],
        gzip_buffers: [String, "32 4k|16 8k", ["http", "server", "location"]],
        gzip_comp_level: [Number, 1, ["http", "server", "location"]],
        gzip_disable: [String, , ["http", "server", "location"]],
        gzip_http_version: [String, "1.1", ["http", "server", "location"]],
        gzip_min_length: [Number, 20, ["http", "server", "location"]],
        gzip_proxied: [[Switch, String], false, ["http", "server", "location"]],
        gzip_types: [String, "text/html", ["http", "server", "location"]],
        gzip_vary: [Switch, false, ["http", "server", "location"]]
    }
};